projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d304ee
)
(extend_range_table_work_area): Call xmalloc and xrealloc.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 20 Feb 2006 01:15:42 +0000
(
01:15
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 20 Feb 2006 01:15:42 +0000
(
01:15
+0000)
src/regex.c
patch
|
blob
|
history
diff --git
a/src/regex.c
b/src/regex.c
index 602318263800b6089bdcee5d0d4b523b3844e350..ada7877021115ec5ef88b245bbf4e0e07c53391a 100644
(file)
--- a/
src/regex.c
+++ b/
src/regex.c
@@
-2067,10
+2067,10
@@
extend_range_table_work_area (work_area)
work_area->allocated += 16 * sizeof (int);
if (work_area->table)
work_area->table
- = (int *) realloc (work_area->table, work_area->allocated);
+ = (int *)
x
realloc (work_area->table, work_area->allocated);
else
work_area->table
- = (int *)
m
alloc (work_area->allocated);
+ = (int *)
x
alloc (work_area->allocated);
}
#ifdef emacs